module.exports = app => {
    const { router, controller } = app;
    router.get('/default/getArticleList', controller.default.home.getArticleList)
    router.get('/default/getArticleInfo/:id',controller.default.home.getArticleInfo)
    router.get('/default/getArticleAlgorithm',controller.default.home.getArticleAlgorithm)
    router.get('/default/getKnowledge',controller.default.home.getKnowledge)
    router.get('/default/getLife',controller.default.home.getLife)
    router.get('/default/getTopic',controller.default.home.getTopic)
    router.get('/default/searchArticle/:title',controller.default.home.searchArticle)
}